import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:get/get.dart';
import 'package:surfaceim/common/widgets/button.dart';
import 'package:surfaceim/pages/user/editInfo/emotionalConcept/controller.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class PureFononessPage extends GetView<EmotionalConceptController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("心仪的TA"),
      ),
      body: Container(
        width: 1.sw,
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Container(
              margin: EdgeInsets.only(top: 30.h),
              padding: EdgeInsets.only(bottom: 28.h),
              decoration: BoxDecoration(
                borderRadius: BorderRadius.all(Radius.circular(12.w)),
                color: Colors.white,
              ),
              width: 670.w,
              height: 392.h,
              child: TextField(
                maxLength: 200,
                maxLines: 20,
                style: TextStyle(fontSize: 26.sp,height: 3.h),
                decoration: InputDecoration(
                    hintText: "日常生活你有什么爱好？可以选择几点介绍一下.",
                    hintStyle: TextStyle(
                        fontSize: 26.sp,
                        color: Color.fromRGBO(153, 153, 153, 1)),
                    contentPadding: EdgeInsets.only(
                        top: 30.h, left: 20.w, right: 20.w, bottom: 0),
                    border: OutlineInputBorder(
                        borderSide:
                        BorderSide(width: 0, style: BorderStyle.none)),
                    counterStyle: TextStyle(
                        fontSize: 30.sp,
                        color: Color.fromRGBO(153, 153, 153, 1))),
              ),
            ),
            Container(
              height: 46.h,
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Container(
                    transform: Matrix4.rotationZ(0.8),
                    height: 15.w,
                    width: 15.w,
                    decoration: BoxDecoration(
                        border: Border.all(
                            color: Color.fromRGBO(250, 123, 149, 1),
                            width: 3.sp))),
                Container(
                  width: 15.w,
                ),
                Text(
                  "看看别人怎么写",
                  style: TextStyle(
                      color: Color.fromRGBO(51, 51, 51, 1),
                      fontWeight: FontWeight.bold,
                      fontSize: 36.sp),
                ),
                Container(
                  width: 15.w,
                ),
                Container(
                  transform: Matrix4.rotationZ(0.8),
                  height: 15.w,
                  width: 15.w,
                  decoration: BoxDecoration(
                      border: Border.all(
                          color: Color.fromRGBO(250, 123, 149, 1),
                          width: 3.sp)),
                  // margin: EdgeInsets.only(left: 10.w),
                ),
              ],
            ),
            Container(
              width: 670.w,
              height: 265.h,
              margin: EdgeInsets.only(top: 39.h),
              child: SingleChildScrollView(
                child: Text(
                  "希望对方升高162以上，年龄92年及一下未婚单身妹子。性格好永远是第一位的，温柔大方，积极上进，乐观阳光一点。"
                      "外表当然可爱漂亮些，身材更性感些更好啊，以后可以帮你拍更漂亮的写真。如果是武汉本地就更好拉，看缘分吧，希望我有机会把你牵走。",
                  style: TextStyle(
                      color: Color.fromRGBO(142, 142, 143, 1), height: 3.5.h),
                ),
              ),
            ),
            Expanded(
                child: Container(
                  alignment: AlignmentDirectional.center,
                  child: btnFlatButtonWidget(
                      onPressed: () {},
                      width: 370,
                      height: 80,
                      gbColor: Color.fromRGBO(250, 125, 150, 1),
                      title: "保 存",
                      fontSize: 30,
                      borderRadius: BorderRadius.all(Radius.circular(90.h))),
                ))
          ],
        ),
      ),
      resizeToAvoidBottomInset: false,
      backgroundColor: Color.fromRGBO(249, 250, 252, 1),
    );
  }
}
